package com.ag.oa.core.entity.dto;

import java.io.Serializable;

/**
 * web端扫码登录（消费者）
 */
public class WebQRCodeLoginDTO implements Serializable {

    private static final long serialVersionUID = 8582626159633357562L;

    private String loginCode;  // web登录码
    private Integer userId;    // 扫描的用户id（oa系统用户id）
    private String username;   // 用户昵称
    private Long scancodeTime; // 扫码时间戳（10位）

    public String getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(String loginCode) {
        this.loginCode = loginCode;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getScancodeTime() {
        return scancodeTime;
    }

    public void setScancodeTime(Long scancodeTime) {
        this.scancodeTime = scancodeTime;
    }

    @Override
    public String toString() {
        return "WebQRCodeLoginDTO{" +
                "loginCode='" + loginCode + '\'' +
                ", userId=" + userId +
                ", username='" + username + '\'' +
                ", scancodeTime=" + scancodeTime +
                '}';
    }
}
